]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gnome-shell-calendar-server.c: Fix uninitialized variable usage
authorOwen W. Taylor <otaylor@fishsoup.net>
Mon, 28 Feb 2011 21:51:54 +0000 (16:51 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 28 Feb 2011 21:53:09 +0000 (16:53 -0500)
In case of of bad command line options being passed, an uninitialized
variable would be accessed.

src/calendar-server/gnome-shell-calendar-server.c

index 4d4d3a50cd2a4f9637c5430d9c0412b58692d422..f184b0844127648eab68f8875ca0b4355896b19c 100644 (file)
@@ -1016,6 +1016,7 @@ main (int    argc,
   loop = NULL;
   opt_context = NULL;
   name_owner_id = 0;
+  stdin_channel = NULL;
 
   g_type_init ();